package com.hutianao.gqgl.login.service;

import com.hutianao.gqgl.login.exception.MoreMailException;
import com.hutianao.gqgl.login.exception.NotMailException;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;

public interface AnonService {
    ResponseEntity<byte[]> getLoginVfcCode(HttpServletRequest request);

    boolean authVfcCode(String vfcCode, HttpServletRequest request);

    String getMailVfcCode(String email) throws NotMailException, MoreMailException;;

    String getPasswordByEmailCode(String email) throws NotMailException, MoreMailException;

}
